<!DOCTYPE html>
<html lang="{{ default .Site.Language.Lang .Site.LanguageCode  }}">
{{ partial "head.html" . }}
<body>
    <div class="wrapper">
        <header class="header">
            <h1>{{ .Site.Title }}</h1>
            {{ partial "breadcrumb.html" . }}
        </header>
        {{ partial "sidebar.html" .Page }}
        <main class="content">
            <article>
                <header>
                    <h1>{{ .Title }}</h1>
                </header>
                {{ partial "toc.html" . }}
                <section>{{ .Content }}</section>
                <section>
                    {{ if .Params.sectionToc }}
                        <ul>
                            {{ range .Pages.ByLinkTitle}}
                            <li>
                                <a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a>
                            </li>
                            {{ end }}
                        </ul>
                    {{ end }}
                </section>
            </article>
        </main>
        {{ partial "footer.html" . }}
    </div>
</body>
</html>